package ${entity.getSiblingPackage("repository")};
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import ${entity.entityClass};

/**
 * 实体${entity.entityName}基于spring-data的DAO接口.
 * @author cailei
 */
public interface ${entity.entityName}Repository extends JpaRepository<${entity.entityName}, ${entity.keys.get(0).fieldType.name}>{

	Page<${entity.entityName}> findAllBy${entity.columns.get(0).fieldName}Like(java.lang.String searchContent, Pageable pageInput);

	int deleteByIdIn(String[] id);
}
